<script>
  //1、数组解构
  // 传统
  let a = 1,
    b = 2,
    c = 3
  console.log(a, b, c)
  // ES6
  let [x, y, z] = [1, 2, 3]
  console.log(x, y, z)
</script>